import request from './index.js'
export function accountRegisterRequest(account) {
	return request.post({
		url: '/users/register',
		data: account
	})
} 

export function sendEmailCode(email) {
	return request.get({
		url:'/email/send',
		data: {
			email
		}
		
	})
}

export function verifyExist(data) {
	return request.post({
		url: '/users/update/exist',
		data
	})
}

export function updatePassword(data) {
	return request.post({
		url: '/users/update/password',
		data
	})
}